import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import $http from './HTTP/apis';
Vue.prototype.$http = $http;

// 输入框不能输入空格
import Mixin from './mixins/mixins';
Vue.mixin(Mixin);

Vue.config.productionTip = false;

// 引入重置样式表
import './utils/css/reset.css';

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
